package com.boatAnchorAssistant.pojo.enums.device;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import nirvana.core.domains.enums.Enums;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/11/11 10:43
 * 来源：0-手动创建 1-系统推送
 */
@Getter
@AllArgsConstructor
public enum DeviceTypeEnum implements Enums {

    CREATE(0, "手动创建"),
    SYSTEM_CREATE(1, "系统推送");

    @JsonValue
    @EnumValue
    private Integer id;
    private String name;

}
